import 'package:flutter_enjoy_plus/constants/index.dart';
import 'package:flutter_enjoy_plus/utils/RequestDio.dart';

// 获取社区公告列表

// Future getAnnounceListAPI() {
//   return requestDio.get(HTTP_PATH.ANNOUNCE_LIST);
// }

Function getAnnounceListAPI = () => requestDio.get(HTTP_PATH.ANNOUNCE_LIST);

// 获取社区公告详情
Future getAnnounceDetailAPI(id) {
  return requestDio.get('${HTTP_PATH.ANNOUNCE_LIST}/$id');
}
